using System;

namespace PPIDesktopClient.Entities
{
	[Serializable]
	public class EVendor_Contact
	{
		#region Miembros Privados
		Int32 m_Vendor_ContactId;
		EVendor m_Vendor;
		EVendor_Contact_Type m_Vendor_Contact_Type;
		string m_Name;
		string m_UserName;
		string m_SecurityRole;
		#endregion Miembros Privados

		#region Propiedades
		public Int32 Vendor_ContactId
		{
			get { return m_Vendor_ContactId; }
			set { m_Vendor_ContactId = value; }
		}
		public EVendor Vendor
		{
			get { return m_Vendor; }
			set { m_Vendor = value; }
		}
		public EVendor_Contact_Type Vendor_Contact_Type
		{
			get { return m_Vendor_Contact_Type; }
			set { m_Vendor_Contact_Type = value; }
		}
		public string Name
		{
			get { return m_Name; }
			set { m_Name = value; }
		}
		public string UserName
		{
			get { return m_UserName; }
			set { m_UserName = value; }
		}
		public string SecurityRole
		{
			get { return m_SecurityRole; }
			set { m_SecurityRole = value; }
		}
		#endregion Propiedades

		#region Constructores
		#region summary
		/// <summary>
		/// Date: 04/28/2008
		/// Time: 12:17:47
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
		public EVendor_Contact()
		{
			m_Vendor_ContactId = Int32.MinValue;
            m_Vendor = new EVendor();
            m_Vendor_Contact_Type = new EVendor_Contact_Type();
            m_Name = "";
            m_UserName = "";
            m_SecurityRole = "";


		}

		#region summary
		/// <summary>
		/// Date: 04/28/2008
		/// Time: 12:17:47
		/// Generated by: VMCoder
		/// Generated using VirtualGenerator
		/// </summary>
		#endregion summary
		public EVendor_Contact(Int32 vendor_ContactId)
			: this()
		{
			m_Vendor_ContactId = vendor_ContactId;

		}

        #region summary
        /// <summary>
        /// Date: 04/28/2008
        /// Time: 12:17:47
        /// Generated by: VMCoder
        /// Generated using VirtualGenerator
        /// </summary>
        #endregion summary
        public EVendor_Contact(Int32 vendor_ContactId, EVendor vendor, EVendor_Contact_Type vendor_Contact_Type, string name, string userName, string securityRole)
            : this(vendor_ContactId)
        {
            m_Vendor = vendor;
            m_Vendor_Contact_Type = vendor_Contact_Type;
            m_Name = name;
            m_UserName = userName;
            m_SecurityRole = securityRole;

        }

		#endregion Constructores
	}
}

